﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HPPClientLibrary
{
    public class DownMsg
    {
        /// <summary>
        /// 文件名
        /// </summary>
        private string _fileName;

        /// <summary>
        /// 已完成百分比
        /// </summary>
        private double _percent;

        /// <summary>
        /// 下载速度
        /// </summary>
        private int _speed;

        /// <summary>
        /// 文件长度
        /// </summary>
        private long _fileLen;

        private string _hash;

        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        /// <summary>
        /// 已完成百分比
        /// </summary>
        public double Percent
        {
            get { return _percent; }
            set { _percent = value; }
        }

        /// <summary>
        /// 下载速度
        /// </summary>
        public int Speed
        {
            get { return _speed; }
            set { _speed = value; }
        }

        /// <summary>
        /// 文件长度
        /// </summary>
        public long FileLen
        {
            get { return _fileLen; }
            set { _fileLen = value; }
        }

        public string Hash
        {
            get { return _hash; }
            set { _hash = value; }
        }
    }
}
